package io.wdb.modules.generator.generator.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import io.wdb.modules.generator.generator.dao.AccountCashLogDao;
import io.wdb.modules.generator.generator.entity.AccountCashLogEntity;
import io.wdb.modules.generator.generator.service.AccountCashLogService;



@Service("accountCashLogService")
public class AccountCashLogServiceImpl implements AccountCashLogService {
	@Autowired
	private AccountCashLogDao accountCashLogDao;
	
	@Override
	public AccountCashLogEntity queryObject(Long id){
		return accountCashLogDao.queryObject(id);
	}
	
	@Override
	public List<AccountCashLogEntity> queryList(Map<String, Object> map){
		return accountCashLogDao.queryList(map);
	}
	
	@Override
	public int queryTotal(Map<String, Object> map){
		return accountCashLogDao.queryTotal(map);
	}
	
	@Override
	public void save(AccountCashLogEntity accountCashLog){
		accountCashLogDao.save(accountCashLog);
	}
	
	@Override
	public void update(AccountCashLogEntity accountCashLog){
		accountCashLogDao.update(accountCashLog);
	}
	
	@Override
	public void delete(Long id){
		accountCashLogDao.delete(id);
	}
	
	@Override
	public void deleteBatch(Long[] ids){
		accountCashLogDao.deleteBatch(ids);
	}
	
}
